<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">
	
	<ui:decorate template="/template/template.xhtml">
        <ui:define name="centro">
            
			<p:panel header="Inicio">
			
				<center><h1 style="margin:10px 0 20px 0">Realizar Login</h1></center>
			
				<center>
					<h:form>
				
						<p:messages id="messages" style="font-size:14px;" showDetail="true" autoUpdate="true" closable="true" />
					
						<h:panelGrid>
						
							
							<h:outputText style="font-size:14px" value="Email: " />
							<p:inputText style="width:770px; margin-bottom: 10px" value="#{usuarioBean.email}" 
								id="email"/>
							
							<h:outputText style="font-size:14px;" value="Senha: " />
							<p:password style="width:770px; margin-bottom: 10px" value="#{usuarioBean.senha}" 
								id="senha"/>
						
							<p:commandButton style="font-size:14px;" value="Login" action="#{usuarioBean.verificarLogin}" /> 	
						
						</h:panelGrid>
				
					</h:form>
				</center>
			
			</p:panel>
            
        </ui:define>
    </ui:decorate>

</html>